﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Raytracererer
{
    class GlassSphereScene : Scene
    {
        public GlassSphereScene()
        {
            cam = new Camera(new Vector3(-3, 0, 0), new Vector3(1, 0, 0));
            lights.Add(new Light(new Vector3(0, -3, 0), new Color(2.8, 2.8, 3)));
            lights.Add(new Light(new Vector3(3, -1, -2), new Color(2, 0, 0)));
            primitives.Add(new TexturedPlane(new Vector3(5, 0.5, 0), new Vector3(-0.00000000001, -1, 0), new Color(1), new Bitmap(@"chess1.jpg")) { reflectivity = 0, scale = 1 });
            primitives.Add(new TexturedPlane(new Vector3(5, 2, 2), new Vector3(-1, 0, 0), new Color(1), new Bitmap(@"chess1.jpg")) { scale = .3 });
            //primitives.Add(new Sphere(0.5, new Vector3(0, 0, 0), new Color(1, 1, 1)) {transparency = 1, refractionIndex = 1.3});
            primitives.Add(new Lens(new Vector3(0, 0, 0), new Vector3(1, 1, 0)));
        }
    }
}
